import matplotlib.pyplot as plt
s=[100,91,32,15,12,13,14,16,12,21,64,69,69,66,65,63,54,32,44,55,669,99,88,77,33,11,22,10,20,30,40,50,60,70,80,90]
plt.rcParams['font.sans-serif']=['SimHei']
plt.xlabel('分数')
plt.ylabel('学生数量')
plt.title('学生语文成绩分布直方图')
plt.hist(s,bins=range(0,150,10),facecolor='pink',edgecolor='black')
plt.show()